package com.aidex.biz.domain;

import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseTreeEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 垃圾分类对象 biz_rubbish_type
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2022-09-22
 */
@Data
public class RubbishType extends BaseTreeEntity<RubbishType> {
    private static final long serialVersionUID = 1L;

    /**
     * 部门id
     */
    @Excel(name = "部门id")
    private String deptId;

    /**
     * 部门编号
     */
    @Excel(name = "部门编号")
    private String deptCode;

    /**
     * 部门名称
     */
    @Excel(name = "部门名称")
    private String deptName;

    /**
     * 全称
     */
    @Excel(name = "全称")
    private String deptFullName;

    /**
     * 负责人
     */
    @Excel(name = "负责人")
    private String leader;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String phone;

    /**
     * 邮箱
     */
    @Excel(name = "邮箱")
    private String email;

    /**
     * 机构类型
     */
    private String deptType;

    /**
     * 联系地址
     */
    private String address;

    /**
     * 邮政编码
     */
    private String zipCode;

    /**
     * 部门拼音
     */
    private String deptPinyin;

    /**
     * 父id
     */
    private String parentId;

    /**
     * 父id集合
     */
    private String parentIds;

    /**
     * 排序
     */
    private Integer treeSort;

    /**
     * 排序集合
     */
    private String treeSorts;

    /**
     * 层级
     */
    private Integer treeLevel;

    /**
     * 是否子节点（0是 1否）
     */
    private String treeLeaf;

    /**
     * 创建者
     */
    private String userId;

    /**
     * 公司ID
     */
    private String companyId;

    /**
     * 部门状态（0正常 1停用）
     */
    private String status;

    /**
     * 单位
     */
    private String unit;
    /**
     * 成本价格
     */
    private String chengbenPrice;
    /**
     * 收购价格
     */
    private String purchasePrice;

    /**
     * 检索字符串，支持名称，编码，拼音
     */
    private String searchText;

    private String parentName;

    private String parentDeptType;
    /**
     * 1 显示 0 不显示
     */
    private Integer isIndex;
    private Integer busType;
    private String timeType;

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptFullName(String deptFullName) {
        this.deptFullName = deptFullName;
    }

    public String getDeptFullName() {
        return deptFullName;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public String getLeader() {
        return leader;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmail() {
        return email;
    }

    public void setDeptType(String deptType) {
        this.deptType = deptType;
    }

    public String getDeptType() {
        return deptType;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setDeptPinyin(String deptPinyin) {
        this.deptPinyin = deptPinyin;
    }

    public String getDeptPinyin() {
        return deptPinyin;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds;
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setTreeSort(Integer treeSort) {
        this.treeSort = treeSort;
    }

    public Integer getTreeSort() {
        return treeSort;
    }

    public void setTreeSorts(String treeSorts) {
        this.treeSorts = treeSorts;
    }

    public String getTreeSorts() {
        return treeSorts;
    }

    public void setTreeLevel(Integer treeLevel) {
        this.treeLevel = treeLevel;
    }

    public Integer getTreeLevel() {
        return treeLevel;
    }

    public void setTreeLeaf(String treeLeaf) {
        this.treeLeaf = treeLeaf;
    }

    public String getTreeLeaf() {
        return treeLeaf;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("deptId", getDeptId()).append(
                "deptCode", getDeptCode()).append("deptName", getDeptName()).append("deptFullName",
                getDeptFullName()).append("leader", getLeader()).append("phone", getPhone()).append("email",
                getEmail()).append("deptType", getDeptType()).append("address", getAddress()).append("zipCode",
                getZipCode()).append("deptPinyin", getDeptPinyin()).append("parentId", getParentId()).append(
                        "parentIds", getParentIds()).append("treeSort", getTreeSort()).append("treeSorts",
                getTreeSorts()).append("treeLevel", getTreeLevel()).append("treeLeaf", getTreeLeaf()).append("userId"
                , getUserId()).append("companyId", getCompanyId()).append("status", getStatus()).append("remark",
                getRemark()).append("id", getId()).append("createBy", getCreateBy()).append("createDept",
                getCreateDept()).append("createTime", getCreateTime()).append("updateBy", getUpdateBy()).append(
                        "updateTime", getUpdateTime()).append("updateIp", getUpdateIp()).append("version",
                getVersion()).append("delFlag", getDelFlag()).toString();
    }
}
